package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.R;
import com.itheima.dto.DishDto;
import com.itheima.entity.Dish;

import java.util.List;

public interface DishService extends IService<Dish> {
    public void saveWithFlavor(DishDto dishDto);
    public Page<DishDto> pageWithCategoryName(Integer page, Integer pageSize, String name);
    public void updateWithFlavor(DishDto dishDto);
    public void deWithFlavor(List<Long> ids);
    public void updateStatus(Integer status,List<Long> ids);
}
